package com.usian.service;

import com.usian.common.model.member.Member;
import com.usian.common.untils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @projectName: 2210A-project1
 * @package: com.usian.service
 * @className: MemberFeignService
 * @author: 莫洪维
 * @email: 1204315800@qq.com
 * @description: TODO
 * @date: 2023/8/22 15:20
 */
@FeignClient("day14Member")
public interface MemberFeignService {
    //前端网页登录方法
    @RequestMapping(value = "/member/login",method = RequestMethod.POST)
    public Result login(Member member);

    /**
     * 修改密码方法
     * @param member
     * @return
     */
    @RequestMapping(value = "/member/changePassword",method = RequestMethod.POST)
    public Result changePassword(Member member);
}
